In the framing of a deck or building, a rim joist is the final joist that caps the end of the row of joists that support a floor or ceiling. A rim joist makes up the end of the box that comprises the floor system.
The header is to a rim joist what the top or bottom Wall plate is to an end stud.